package cn.kailangtu.commontools;

import android.content.Context;
import android.view.Gravity;
import android.widget.Toast;

public class ToastUtils {
    public static void ShowInCenter(Context context,String msg)
    {
        Toast t =  Toast.makeText(context,msg, Toast.LENGTH_SHORT);
        t.setGravity(Gravity.CENTER,0,0);
        t.show();
    }
}
